package com.dyzx.hbb.modules.finance.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "分类VO")
public class FinanceCategoryUVO {
    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    @NotNull(message = "主键ID不能为空")
    private Long id;
    /**
     * 名称
     */
    @Schema(description = "名称")
  //  @NotNull(message = "名称不能为空")
    private String name;

    /**
     * 图标
     */
    @Schema(description = "图标")
  //  @NotNull(message = "图标不能为空")
    private String icon;

    /**
     * 颜色
     */
    @Schema(description = "颜色")
   // @NotNull(message = "颜色不能为空")
    private String color;
}
